package com.dawnClass.VO;

import com.dawnClass.pojo.Consumer;
import com.dawnClass.pojo.CourseReview;

public class CourseReviewConsumerVO {
    private CourseReview courseReview;
    private Consumer consumer;

    public CourseReviewConsumerVO(CourseReview courseReview, Consumer consumer) {
        this.courseReview = courseReview;
        this.consumer = consumer;
    }

    public CourseReview getCourseReview() {
        return courseReview;
    }

    public void setCourseReview(CourseReview courseReview) {
        this.courseReview = courseReview;
    }

    public Consumer getConsumer() {
        return consumer;
    }

    public void setConsumer(Consumer consumer) {
        this.consumer = consumer;
    }

    @Override
    public String toString() {
        return "CourseReviewConsumerVO{" +
                "courseReview=" + courseReview +
                ", consumer=" + consumer +
                '}';
    }
}
